17 #ifndef _COMMON_ERROR_H__ 18 #define _COMMON_ERROR_H__ 159 const wchar_t* strDescription;
163 #define ERROR_DSS_LISTSIZE sizeof(ERROR_DSS_LIST)/sizeof(ErrorType) 166 const ErrorType ERROR_DSS_LIST[] = {
188 {
DSSResult_ScannerJam, L
"It is not possible to perform or complete the current operation. Scanner jam state." },
196 {
DssResult_ScanImpeded , L
"A trouble impeded to perform a correct scan. (Scan timeout or power supply error)"},
208 {
DssResult_DoubleSheet, L
"It is not possible to perform or complete the current operation. Scanner found double sheet" },
226 for (i = 0; i<ERROR_DSS_LISTSIZE; i++)
228 if (ERROR_DSS_LIST[i].dssError == result)
229 return ERROR_DSS_LIST[i].strDescription;
No document has been inserted to be scanned.
Definition: dss_Error.h:78
Null or invalid pointer.
Definition: dss_Error.h:42
The device doesn't answer.
Definition: dss_Error.h:54
Communication unknown error.
Definition: dss_Error.h:93
Scanner answer is an error code, or the scanner is in an error state.
Definition: dss_Error.h:90
A trouble impeded to perform a correct scan. (Scan timeout or power supply error)
Definition: dss_Error.h:111
Device is closed.Did you forget ConnectScanner?
Definition: dss_Error.h:51
Magnetic ink character recognition in progress.
Definition: dss_Error.h:117
Scan job not valid. Maybe a ConnectScanner is needed.
Definition: dss_Error.h:60
Magnetic ink character recognition failed. Data not found or not detected.
Definition: dss_Error.h:114
Invalid parameter.
Definition: dss_Error.h:36
All OK.
Definition: dss_Error.h:27
Upgrade error: checksum error.
Definition: dss_Error.h:132
The request is not supported by the current device. Request not available.
Definition: dss_Error.h:96
Upgrade error: upgrade file accept length not match.
Definition: dss_Error.h:126
Impossible to perform the requested operation. The scanner cover is open.
Definition: dss_Error.h:105
Invalid device ID.
Definition: dss_Error.h:48
Communication syncronization error.
Definition: dss_Error.h:75
Upgrade error: file inconsistent. Wrong file format.
Definition: dss_Error.h:135
Small buffer.
Definition: dss_Error.h:39
DssResult
Definition: dss_Error.h:24
Upgrade error: upgrade file not found.
Definition: dss_Error.h:120
The data requested are no longer available.
Definition: dss_Error.h:144
The paper has been held back by the user.
Definition: dss_Error.h:84
Device answer unknown.
Definition: dss_Error.h:69
Upgrade error: error in writing upgrade data on scanner.
Definition: dss_Error.h:129
Scan job open error.
Definition: dss_Error.h:63
Void ticket: paper not present on print head. Cannot continue.
Definition: dss_Error.h:138
Library not initialized.
Definition: dss_Error.h:45
Invalid command.
Definition: dss_Error.h:66
Data returned by the last/current scan job are inconsistent.
Definition: dss_Error.h:108
The scanner is busy. Probably a scan job is in progress.
Definition: dss_Error.h:102
Upgrade error: boot image tag missed.
Definition: dss_Error.h:123
Scanner offline.
Definition: dss_Error.h:30
It is not possible to perform or complete the current operation. Scanner found double sheet.
Definition: dss_Error.h:147
static const wchar_t * DssResultToText(DssResult result)
Definition: dss_Error.h:222
No document has been scanned for this side.
Definition: dss_Error.h:72
Paper jam.
Definition: dss_Error.h:81
Open device error. Device probably offline.
Definition: dss_Error.h:33
Write error.
Definition: dss_Error.h:57
Void ticket: print head is down. This situation will cause troubles during the next scan job.
Definition: dss_Error.h:141
It is not possible to perform or complete the current operation. Scanner jam state.
Definition: dss_Error.h:87
The library has already been initialized. Please deinitilize library before re-initialize it.
Definition: dss_Error.h:99